<?php

namespace App\Http\Services\FormBuilder\Elements;

class HelpBlock extends Element
{
    private $message;

    public function __construct($message)
    {
        $this->message = $message;
        $this->addClass('help-block');
    }

    public function render()
    {
        return  '<small class="form-text text-muted">' . $this->message . '</small>';
    }
}
